chore: add AGENTS file with opencode skills#3484
Open
chore: add AGENTS file with opencode skills#3484
Conversation
✅ Deploy Preview for boosted ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
This PR adds AI/agent-facing documentation and an OpenCode skill to help automated agents understand the OUDS Web repository and validate design token usage.
Changes:
- Add
AGENTS.mdas a root entry point describing architecture, tokens, conventions, and workflows for AI agents. - Add
.ai/extended documentation set (tokens, components, conventions, accessibility, troubleshooting, etc.). - Add an OpenCode skill (
.opencode/skills/token-validation/) to audit SCSS component token usage and common anti-patterns.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| AGENTS.md | Root AI-agent context doc and master index for repo structure, tokens, conventions, and workflow |
| .opencode/skills/token-validation/SKILL.md | OpenCode skill documentation for cross-brand token presence + SCSS anti-pattern checks |
| .ai/README.md | Index/entry guidance for the .ai/ documentation set |
| .ai/QUICK_LOOKUP.md | Routing table to direct agents to the right doc/section for a topic |
| .ai/DECISION_TREES.md | Decision trees for code placement, token selection, multi-brand updates, and testing strategy |
| .ai/GLOSSARY.md | Glossary of project terms and conventions |
| .ai/DESIGN_TOKENS.md | Detailed design token system reference (layers, pipeline, naming, dark mode, etc.) |
| .ai/COMPONENTS.md | Component catalog and SCSS/JS patterns + testing/doc conventions |
| .ai/CODE_CONVENTIONS.md | Detailed HTML/SCSS/JS conventions and linter guidance |
| .ai/ACCESSIBILITY.md | WCAG-focused implementation and testing guidance |
| .ai/TROUBLESHOOTING.md | Common build/lint/test failure causes and fixes |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Types of change
Related issues
Closes #
Context & Motivation
Add AGENTS.md and some context files to help Agentic AI to understand the project.
Add a skill for opencode to validate tokens usages in components
Checklists
Checklist (for Core Team only)
Progression (for Core Team only)
ouds/mainfollowing conventional commitLive previews